//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.1008
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
namespace CY_DocumentSynchroWCFService.RegisterService {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="DocumentRegiste", Namespace="http://schemas.datacontract.org/2004/07/CY_DocumentSystemWCFService")]
[System.SerializableAttribute()]
public partial class DocumentRegiste : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int IdField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int IsRegisteField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteAddressField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteCityField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteCodeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteCompanyField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteCountryField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteEmailField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteIPField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteMachineCodeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteMobileField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegistePhoneField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegistePostCodeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteProvinceField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteQQField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RegisteUserField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int UseStateField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int Id {
get {
return this.IdField;
}
set {
if ((this.IdField.Equals(value) != true)) {
this.IdField = value;
this.RaisePropertyChanged("Id");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int IsRegiste {
get {
return this.IsRegisteField;
}
set {
if ((this.IsRegisteField.Equals(value) != true)) {
this.IsRegisteField = value;
this.RaisePropertyChanged("IsRegiste");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteAddress {
get {
return this.RegisteAddressField;
}
set {
if ((object.ReferenceEquals(this.RegisteAddressField, value) != true)) {
this.RegisteAddressField = value;
this.RaisePropertyChanged("RegisteAddress");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteCity {
get {
return this.RegisteCityField;
}
set {
if ((object.ReferenceEquals(this.RegisteCityField, value) != true)) {
this.RegisteCityField = value;
this.RaisePropertyChanged("RegisteCity");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteCode {
get {
return this.RegisteCodeField;
}
set {
if ((object.ReferenceEquals(this.RegisteCodeField, value) != true)) {
this.RegisteCodeField = value;
this.RaisePropertyChanged("RegisteCode");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteCompany {
get {
return this.RegisteCompanyField;
}
set {
if ((object.ReferenceEquals(this.RegisteCompanyField, value) != true)) {
this.RegisteCompanyField = value;
this.RaisePropertyChanged("RegisteCompany");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteCountry {
get {
return this.RegisteCountryField;
}
set {
if ((object.ReferenceEquals(this.RegisteCountryField, value) != true)) {
this.RegisteCountryField = value;
this.RaisePropertyChanged("RegisteCountry");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteEmail {
get {
return this.RegisteEmailField;
}
set {
if ((object.ReferenceEquals(this.RegisteEmailField, value) != true)) {
this.RegisteEmailField = value;
this.RaisePropertyChanged("RegisteEmail");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteIP {
get {
return this.RegisteIPField;
}
set {
if ((object.ReferenceEquals(this.RegisteIPField, value) != true)) {
this.RegisteIPField = value;
this.RaisePropertyChanged("RegisteIP");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteMachineCode {
get {
return this.RegisteMachineCodeField;
}
set {
if ((object.ReferenceEquals(this.RegisteMachineCodeField, value) != true)) {
this.RegisteMachineCodeField = value;
this.RaisePropertyChanged("RegisteMachineCode");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteMobile {
get {
return this.RegisteMobileField;
}
set {
if ((object.ReferenceEquals(this.RegisteMobileField, value) != true)) {
this.RegisteMobileField = value;
this.RaisePropertyChanged("RegisteMobile");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegistePhone {
get {
return this.RegistePhoneField;
}
set {
if ((object.ReferenceEquals(this.RegistePhoneField, value) != true)) {
this.RegistePhoneField = value;
this.RaisePropertyChanged("RegistePhone");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegistePostCode {
get {
return this.RegistePostCodeField;
}
set {
if ((object.ReferenceEquals(this.RegistePostCodeField, value) != true)) {
this.RegistePostCodeField = value;
this.RaisePropertyChanged("RegistePostCode");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteProvince {
get {
return this.RegisteProvinceField;
}
set {
if ((object.ReferenceEquals(this.RegisteProvinceField, value) != true)) {
this.RegisteProvinceField = value;
this.RaisePropertyChanged("RegisteProvince");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteQQ {
get {
return this.RegisteQQField;
}
set {
if ((object.ReferenceEquals(this.RegisteQQField, value) != true)) {
this.RegisteQQField = value;
this.RaisePropertyChanged("RegisteQQ");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RegisteUser {
get {
return this.RegisteUserField;
}
set {
if ((object.ReferenceEquals(this.RegisteUserField, value) != true)) {
this.RegisteUserField = value;
this.RaisePropertyChanged("RegisteUser");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int UseState {
get {
return this.UseStateField;
}
set {
if ((this.UseStateField.Equals(value) != true)) {
this.UseStateField = value;
this.RaisePropertyChanged("UseState");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="RegisterService.IRegisterSystem")]
public interface IRegisterSystem {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRegisterSystem/RegisteSystem", ReplyAction="http://tempuri.org/IRegisterSystem/RegisteSystemResponse")]
bool RegisteSystem(out string encryptStr, out string strPrivateKey, out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste, string machineCode);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRegisterSystem/UPSystem", ReplyAction="http://tempuri.org/IRegisterSystem/UPSystemResponse")]
bool UPSystem(out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRegisterSystem/GetNewVersion", ReplyAction="http://tempuri.org/IRegisterSystem/GetNewVersionResponse")]
bool GetNewVersion(out string[] newVerList, out int IsNew, string softCode, string nowVersion);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IRegisterSystemChannel : CY_DocumentSynchroWCFService.RegisterService.IRegisterSystem, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class RegisterSystemClient : System.ServiceModel.ClientBase, CY_DocumentSynchroWCFService.RegisterService.IRegisterSystem {
public RegisterSystemClient() {
}
public RegisterSystemClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public RegisterSystemClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public RegisterSystemClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public RegisterSystemClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public bool RegisteSystem(out string encryptStr, out string strPrivateKey, out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste, string machineCode) {
return base.Channel.RegisteSystem(out encryptStr, out strPrivateKey, out UseState, documentRegiste, machineCode);
}
public bool UPSystem(out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste) {
return base.Channel.UPSystem(out UseState, documentRegiste);
}
public bool GetNewVersion(out string[] newVerList, out int IsNew, string softCode, string nowVersion) {
return base.Channel.GetNewVersion(out newVerList, out IsNew, softCode, nowVersion);
}
}
}